package data

import (
	xerr "github.com/pkg/errors"
	"math/rand"
)


func GetMockReturn() (string,error) {
	// 随机返回正确或错误
	r := rand.Intn(2)
	if r == 0 {
		return "Pong success", nil
	}
	return "Ping failed", xerr.New("Happen error at GetReturn func")
}
